<div class="container_12 content-wrapper">
	
    <div class="grid_12">
		<h2><?php echo $p->name; ?></h2>
		<?php flash(); ?>
		
		<div class="product-image">
			<img src="<?php echo site_url().'/'.$p->image;?>" width="300px" height="300px"/>
		</div>
		<h3 class="product-price">
			Price: <?php echo $p->price;?>
		</h3>
		
		<p class="product-desc">
			<?php echo $p->description; ?>
		</p>
		
		
		<a href="<?php echo site_url('home/add_to_cart/'.$p->id);?>" class="add_to_cart dbtn">Add to cart</a>
		
		
		<a href="<?php echo site_url('home/products/');?>" class="back-btn"><span>Back</span></a>
    
 	
	</div>

   
</div>